home *** CD-ROM | disk | FTP | other *** search
/ NeXT Enterprise Objects Framework 1.1 / NeXT Enterprise Objects Framework 1.1.iso / NextDeveloper / Examples / EnterpriseObjects / EOController / PeopleDemo_oracle / Department.h next >
Encoding:
Text File  |  1994-09-14  |  906 b   |  41 lines

  1.  
  2. #import <appkit/appkit.h>
  3. #import <eointerface/eointerface.h>
  4. #import <eoaccess/eoaccess.h>
  5.  
  6. @interface Department:NSObject  
  7. {
  8.     NSString * DepartmentName;
  9.     int DeptId;
  10.     int LocationId;
  11.     id toFacility;
  12.     NSString * FacilityLocation;
  13.     NSArray * toEmployee;
  14.     
  15.     int  averageSalary;   
  16.                  /* Average salary earned by employees in the department.  
  17.                    * This attribute is not defined in the Department         
  18.                   * table.
  19.                   */
  20.     
  21. }
  22.   
  23.  
  24. /* ACCESSOR METHODS */
  25.  
  26. - (void)setDepartmentName:(NSString *)newName;
  27. - (NSString *)DepartmentName;
  28. - (void)setDeptId:(int)newId;
  29. - (int)DeptId;
  30. - (void)setLocationId:(int)value;
  31. - (int)LocationId;
  32. - (void)setToFacility:value;
  33. - toFacility;
  34. - (void)setFacilityLocation:(NSString *)value;
  35. - (NSString *)FacilityLocation;
  36. - (void)setToEmployee:(NSArray *)value;
  37. - (NSArray *)toEmployee;
  38. - (void) setAverageSalary:(int)aSalary;
  39. - (int)averageSalary;
  40.  
  41. @end